Builder

class Builder : GeneratedMessage.Builder<BuilderT> , ModuleConfigProtos.ModuleConfig.DetectionSensorConfigOrBuilder

Detection Sensor Module Config
Protobuf type meshtastic.ModuleConfig.DetectionSensorConfig

Functions

Link copied to clipboard

The type of trigger event to be used
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard

Whether the Module is enabled
bool enabled = 1;
Link copied to clipboard

Interval in seconds of how often we can send a message to the mesh when a
trigger event is detected
uint32 minimum_broadcast_secs = 2;
Link copied to clipboard

GPIO pin to monitor for state changes
uint32 monitor_pin = 6;
Link copied to clipboard

Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
string name = 5;
Link copied to clipboard

Send ASCII bell with alert message
Useful for triggering ext. notification on bell
bool send_bell = 4;
Link copied to clipboard

Interval in seconds of how often we should send a message to the mesh
with the current state regardless of trigger events When set to 0, only
trigger events will be broadcasted Works as a sort of status heartbeat
for peace of mind
uint32 state_broadcast_secs = 3;
Link copied to clipboard

Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
bool use_pullup = 8;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard

The type of trigger event to be used
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard

The type of trigger event to be used
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard
open fun getEnabled(): Boolean

Whether the Module is enabled
bool enabled = 1;
Link copied to clipboard

Interval in seconds of how often we can send a message to the mesh when a
trigger event is detected
uint32 minimum_broadcast_secs = 2;
Link copied to clipboard
open fun getMonitorPin(): Int

GPIO pin to monitor for state changes
uint32 monitor_pin = 6;
Link copied to clipboard
open fun getName(): String

Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
string name = 5;
Link copied to clipboard
open fun getNameBytes(): ByteString

Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
string name = 5;
Link copied to clipboard
open fun getSendBell(): Boolean

Send ASCII bell with alert message
Useful for triggering ext. notification on bell
bool send_bell = 4;
Link copied to clipboard

Interval in seconds of how often we should send a message to the mesh
with the current state regardless of trigger events When set to 0, only
trigger events will be broadcasted Works as a sort of status heartbeat
for peace of mind
uint32 state_broadcast_secs = 3;
Link copied to clipboard
open fun getUsePullup(): Boolean

Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
bool use_pullup = 8;
Link copied to clipboard
Link copied to clipboard

The type of trigger event to be used
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard

The type of trigger event to be used
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard

Whether the Module is enabled
bool enabled = 1;
Link copied to clipboard

Interval in seconds of how often we can send a message to the mesh when a
trigger event is detected
uint32 minimum_broadcast_secs = 2;
Link copied to clipboard

GPIO pin to monitor for state changes
uint32 monitor_pin = 6;
Link copied to clipboard

Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
string name = 5;
Link copied to clipboard

Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
string name = 5;
Link copied to clipboard

Send ASCII bell with alert message
Useful for triggering ext. notification on bell
bool send_bell = 4;
Link copied to clipboard

Interval in seconds of how often we should send a message to the mesh
with the current state regardless of trigger events When set to 0, only
trigger events will be broadcasted Works as a sort of status heartbeat
for peace of mind
uint32 state_broadcast_secs = 3;
Link copied to clipboard

Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
bool use_pullup = 8;